/*
 * DistModeState.h
 *
 * Represents the Distance Mode State where
 * the trip distance as well as total distance
 * is displayed.
 *
 * Author: Zachary Masiello
 * Author: Peter-John Rowe
 */

#ifndef DISTMODESTATE_H_
#define DISTMODESTATE_H_

#include "IState.h"

class DistModeState : public IState {
public:
	/**
	 * Initializes a DistModeState object and takes in
	 * a function pointer pointing to the activity that
	 * would be performed during this state. The state id
	 * as well as the state name is also assigned a value.
	 * The remaining function pointers are set to NULL.
	 */
	DistModeState(Cyclometer* cyclo/*void (*pActivity)()*/);

	/**
	 * Destructor
	 */
	virtual ~DistModeState();

	// Displays the distance
	void activity();
	void entryAction();
	void exitAction();
};

#endif /* DISTMODESTATE_H_ */
